#ifndef UC_BRELEM2D_H
#define UC_BRELEM2D_H 1

#include "zadesk.h"
#include "zrxobject.h"
#include "zrxboiler.h"
#include "ucbrgbl.h"
#include "ucbrelem.h"


// forward class declarations
class UcGeVector3d;
class UcBrElement;
class AcBrElement2dData;


class DllImpExp UcBrElement2d : public UcBrElement
{
public:
    UCRX_DECLARE_MEMBERS(UcBrElement2d);
    UcBrElement2d();
    UcBrElement2d(const UcBrElement2d& src);
    ~UcBrElement2d();
    
    // Assignment operator
    UcBrElement2d&		operator =      (const UcBrElement2d& src);

    // Queries & Initialisers
    UcBr::ErrorStatus   set				(AcBrElement2dData* data);
	UcBr::ErrorStatus	get				(AcBrElement2dData*& data) const;

    // Geometry (for stereolithography support)
    UcBr::ErrorStatus   getNormal		(UcGeVector3d& normal) const;
};


#endif

